package com.dy.lock.screen.constants;

import com.dy.lock.screen.utils.CommonUtil;

/**
 * 常量类
 * 
 * @author java
 * 
 */
public class Constant {

	/**
	 * 用户正常在线
	 */
	public static final String USER_ON_LINE = "1";
	/**
	 * 用户正常离线
	 */
	public static final String USER_OFF_LINE = "2";
	/**
	 * 用户被锁定
	 */
	public static final String USER_LOCKED = "0";

	/**
	 * 用户来源：安卓
	 */
	public static final String USER_SOURCE_ANDROID = "1";
	/**
	 * 用户来源：ios
	 */
	public static final String USER_SOURCE_IOS = "2";
	/**
	 * 用户来源：论坛
	 */
	public static final String USER_SOURCE_LUNTAN = "3";
	/**
	 * 用户来源：wp
	 */
	public static final String USER_SOURCE_WP = "4";

	/**
	 * 操作类型（1：左滑）
	 */
	public static final String ADVERT_OPERATE_LEFT = "1";
	/**
	 * 操作类型（2：右滑）
	 */
	public static final String ADVERT_OPERATE_RIGHT = "2";
	/**
	 * 操作类型（3：签到）
	 */
	public static final String ADVERT_OPERATE_SIGN_IN = "3";
	/**
	 * 操作类型（4：邀请）
	 */
	public static final String ADVERT_OPERATE_INVITE = "4";
	/**
	 * 操作类型（5：分享）
	 */
	public static final String ADVERT_OPERATE_SHARE = "5";
	/**
	 * 操作类型（6：收藏）
	 */
	public static final String ADVERT_OPERATE_COLLECT = "6";

	/**
	 * 操作类型（7：取消收藏）
	 */
	public static final String ADVERT_OPERATE_CANCEL_COLLECT = "7";

	/**
	 * 操作类型（8：查看）
	 */
	public static final String ADVERT_OPERATE_LOOK = "8";

	/**
	 * 广告类型：CPM
	 */
	public static final String ADVERT_CPM = "CPM";

	/**
	 * 广告类型：CPC
	 */
	public static final String ADVERT_CPC = "CPC";

	/**
	 * 用户最少获取到的积分
	 */
	public static final double USER_GET_SCORE = 2;

	/**
	 * 邀请奖励积分
	 */
	public static final int INVITATION_SCORE = 300;

	/**
	 * 签到积分
	 */
	public static final int SIGN_IN_SCORE = 30;

	/**
	 * 广告状态：投放中
	 */
	public static final String ADVERT_STATUS_PUT_IN = "1";
	/**
	 * 广告状态：投放结束
	 */
	public static final String ADVERT_STATUS_END = "0";

	/**
	 * 到店自取
	 */
	public static final String EXCHANGE_TYPE_GET_MYSELF = "1";

	/**
	 * 兑换方式：其他
	 */
	public static final String EXCHANGE_TYPE_GET_OTHER = "2";

	/**
	 * 排序方式：asc
	 */
	public static final String ORDER_TYPE_ASC = "asc";

	/**
	 * 排序方式：desc
	 */
	public static final String ORDER_TYPE_DESC = "desc";

	public static final String IS_DELETE = "0";

	public static final String IS_NOT_DELETE = "1";

	public static final String TOPED = "1";

	public static final String NOT_TOPED = "0";

	/**
	 * 文章点赞
	 */
	public static final String MATERIAL_LIKE = "1";

	/**
	 * 文章评论点赞
	 */
	public static final String MATERIAL_COMMENT_LIKE = "2";

	public static final String NOT_DEAL = "0";

	public static final String DEALED = "1";

	/**
	 * 1：未审核
	 */
	public static final String NOT_APPLYED = "1";

	/**
	 * 2：未通过
	 */
	public static final String NOT_PASSED = "2";

	/**
	 * 3：已通过
	 */
	public static final String PASSED = "3";

	/**
	 * 商品状态：上架
	 */
	public static final String GOODS_ON_LINE = "1";
	/**
	 * 商品状态：下架
	 */
	public static final String GOODS_OFF_LINE = "0";

	/**
	 * 已兑换
	 */
	public static final String ORDER_STATUS_EXCHANGED = "0";

	/**
	 * 未兑换
	 */
	public static final String ORDER_STATUS_NOT_EXCHANGED = "1";

	/**
	 * 用户头像路径
	 */
	public static final String USER_HEADER_PATH = CommonUtil.FILE_SEPARATOR
			+ "images" + CommonUtil.FILE_SEPARATOR + "header"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 用户评价图片路径
	 */
	public static final String USER_CHAT_PATH = CommonUtil.FILE_SEPARATOR
			+ "images" + CommonUtil.FILE_SEPARATOR + "chat"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 图片路径
	 */
	public static final String UPLOAD_IMAGE_PATH = CommonUtil.FILE_SEPARATOR
			+ "images" + CommonUtil.FILE_SEPARATOR + "upload"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 个推离线消息保存时间（一天）
	 */
	public static final long MESSAGE_OFFLINE_EXPIRE_TIME = 24 * 60 * 60 * 1000;

	/**
	 * 群推消息发送成功
	 */
	public static final String OK = "ok";
	/**
	 * 用户在线，消息在线下发
	 */
	public static final String SUCCESSED_ONLINE = "successed_online";
	/**
	 * 用户离线，消息存入离线系统
	 */
	public static final String SUCCESSED_OFFLINE = "successed_offline";
	/**
	 * 状态丢弃（无效用户）
	 */
	public static final String SUCCESSED_IGNORE = "successed_ignore";

	// 环信消息常量定义
	/**
	 * 消息类型，文章评论
	 */
	public static final int MESSAGE_TYPE_MATERIAL_COMMENT = 1;
	
	/**
	 * 消息类型，普通评论
	 */
	public static final int MESSAGE_TYPE_COMMON_COMMENT = 2;
	
	/**
	 * 消息类型，普通赞
	 */
	public static final int MESSAGE_TYPE_COMMON_LIKE = 3;

}
